NAVI Methods

query()

Get url query parameters. The data returned will be encoded, run decode() if required.

mixed query([ string name ])

Return

Will return field value or ALL parameters if no field has been passed.

Parameter
Description
nameReturn this specific parameter value.

Click HERE to test function

$NAVI->query()
RETURN: ARRAY [2]

Return specific value

$NAVI->query("test")
RETURN: '%3Cscript%3Ealert(%27test%27);%3C/script%3E'

Query set but no value

$NAVI->query("test1")
RETURN: TRUE